//
//  Bed.h
//  PlotMate
//
//  Created by Brian Boyle on 08/04/2012.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class Plant, Plot, PlotIncompatibilty;

@interface Bed : NSManagedObject

@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSNumber * size1;
@property (nonatomic, retain) NSNumber * size2;
@property (nonatomic, retain) NSSet *incompatibilities;
@property (nonatomic, retain) NSSet *plants;
@property (nonatomic, retain) Plot *plot;
@end

@interface Bed (CoreDataGeneratedAccessors)

- (void)addIncompatibilitiesObject:(PlotIncompatibilty *)value;
- (void)removeIncompatibilitiesObject:(PlotIncompatibilty *)value;
- (void)addIncompatibilities:(NSSet *)values;
- (void)removeIncompatibilities:(NSSet *)values;

- (void)addPlantsObject:(Plant *)value;
- (void)removePlantsObject:(Plant *)value;
- (void)addPlants:(NSSet *)values;
- (void)removePlants:(NSSet *)values;

@end
